<?php

declare(strict_types=1);

namespace app\model;

use app\model\base\WeeklyCount;
use think\Model;

/**
 * @mixin \think\Model
 */
class UserPostCommentCountWeekly extends WeeklyCount
{
  //

  protected static $targetColumnName = 'user_id';

  public function user()
  {
    return $this->belongsTo(User::class, 'user_id');
  }
}
